Optimal. Leaf size=105 \[ \frac {2 \sqrt {d+e x} \sqrt {a e+c d x} \tanh ^{-1}\left (\frac {\sqrt {g} \sqrt {a e+c d x}}{\sqrt {c} \sqrt {d} \sqrt {f+g x}}\right )}{\sqrt {c} \sqrt {d} \sqrt {g} \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 48, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {891, 63, 217, 206} \[ \frac {2 \sqrt {d+e x} \sqrt {a e+c d x} \tanh ^{-1}\left (\frac {\sqrt {g} \sqrt {a e+c d x}}{\sqrt {c} \sqrt {d} \sqrt {f+g x}}\right )}{\sqrt {c} \sqrt {d} \sqrt {g} \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 206
Rule 217
Rule 891
Rubi steps
\begin {align*} \int \frac {\sqrt {d+e x}}{\sqrt {f+g x} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \, dx &=\frac {\left (\sqrt {a e+c d x} \sqrt {d+e x}\right ) \int \frac {1}{\sqrt {a e+c d x} \sqrt {f+g x}} \, dx}{\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\\ &=\frac {\left (2 \sqrt {a e+c d x} \sqrt {d+e x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {f-\frac {a e g}{c d}+\frac {g x^2}{c d}}} \, dx,x,\sqrt {a e+c d x}\right )}{c d \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\\ &=\frac {\left (2 \sqrt {a e+c d x} \sqrt {d+e x}\right ) \operatorname {Subst}\left (\int \frac {1}{1-\frac {g x^2}{c d}} \, dx,x,\frac {\sqrt {a e+c d x}}{\sqrt {f+g x}}\right )}{c d \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\\ &=\frac {2 \sqrt {a e+c d x} \sqrt {d+e x} \tanh ^{-1}\left (\frac {\sqrt {g} \sqrt {a e+c d x}}{\sqrt {c} \sqrt {d} \sqrt {f+g x}}\right )}{\sqrt {c} \sqrt {d} \sqrt {g} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 160, normalized size = 1.52 \[ \frac {2 \sqrt {c d} \sqrt {d+e x} \sqrt {a e+c d x} \sqrt {c d f-a e g} \sqrt {\frac {c d (f+g x)}{c d f-a e g}} \sinh ^{-1}\left (\frac {\sqrt {c} \sqrt {d} \sqrt {g} \sqrt {a e+c d x}}{\sqrt {c d} \sqrt {c d f-a e g}}\right )}{c^{3/2} d^{3/2} \sqrt {g} \sqrt {f+g x} \sqrt {(d+e x) (a e+c d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 2.02, size = 343, normalized size = 3.27 \[ \left [\frac {\sqrt {c d g} \log \left (-\frac {8 \, c^{2} d^{2} e g^{2} x^{3} + c^{2} d^{3} f^{2} + 6 \, a c d^{2} e f g + a^{2} d e^{2} g^{2} + 4 \, \sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x} {\left (2 \, c d g x + c d f + a e g\right )} \sqrt {c d g} \sqrt {e x + d} \sqrt {g x + f} + 8 \, {\left (c^{2} d^{2} e f g + {\left (c^{2} d^{3} + a c d e^{2}\right )} g^{2}\right )} x^{2} + {\left (c^{2} d^{2} e f^{2} + 2 \, {\left (4 \, c^{2} d^{3} + 3 \, a c d e^{2}\right )} f g + {\left (8 \, a c d^{2} e + a^{2} e^{3}\right )} g^{2}\right )} x}{e x + d}\right )}{2 \, c d g}, -\frac {\sqrt {-c d g} \arctan \left (\frac {2 \, \sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x} \sqrt {-c d g} \sqrt {e x + d} \sqrt {g x + f}}{2 \, c d e g x^{2} + c d^{2} f + a d e g + {\left (c d e f + {\left (2 \, c d^{2} + a e^{2}\right )} g\right )} x}\right )}{c d g}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 120, normalized size = 1.14 \[ \frac {\sqrt {g x +f}\, \sqrt {c d e \,x^{2}+a \,e^{2} x +c \,d^{2} x +a d e}\, \ln \left (\frac {2 c d g x +a e g +c d f +2 \sqrt {\left (g x +f \right ) \left (c d x +a e \right )}\, \sqrt {c d g}}{2 \sqrt {c d g}}\right )}{\sqrt {e x +d}\, \sqrt {c d g}\, \sqrt {c d g \,x^{2}+a e g x +c d f x +a e f}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {e x + d}}{\sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x} \sqrt {g x + f}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\sqrt {d+e\,x}}{\sqrt {f+g\,x}\,\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {d + e x}}{\sqrt {\left (d + e x\right ) \left (a e + c d x\right )} \sqrt {f + g x}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________